/**
 * Test class for EMail class
 * Creates two new EMail objects, populates them, then prints them out using individual get methods and toString
 * @author Joshua Zeiser
 *
 */
public class TestEMail {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		EMail e1 = new EMail("user1@somedomain.com");
		EMail e2 = new EMail("user2@somedomain.com");
		
		System.out.println(e1.geteMailAddress());
		System.out.println(e2.geteMailAddress());
		
		e1.seteMailAddress("user3@somedomain.com");
		e2.seteMailAddress("user4@somedomain.com");
		
		System.out.println(e1);
		System.out.println(e2);
	}

}
